local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1
L0_1 = {}
L0_1.group_id = 133107087
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 87001
L2_1.gadget_id = 70710096
L3_1 = {}
L3_1.x = -654.278
L3_1.y = 222.396
L3_1.z = 243.885
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 18
L2_1.area_id = 7
L3_1 = {}
L3_1.config_id = 87002
L3_1.gadget_id = 70300118
L4_1 = {}
L4_1.x = -653.221
L4_1.y = 221.615
L4_1.z = 244.904
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 18
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 87004
L4_1.gadget_id = 70710102
L5_1 = {}
L5_1.x = -654.005
L5_1.y = 222.396
L5_1.z = 244.281
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 18
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 87006
L5_1.gadget_id = 70710100
L6_1 = {}
L6_1.x = -657.553
L6_1.y = 222.396
L6_1.z = 244.081
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 32.617
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 18
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 87007
L6_1.gadget_id = 70710135
L7_1 = {}
L7_1.x = -654.458
L7_1.y = 222.397
L7_1.z = 244.721
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 18
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 87008
L7_1.gadget_id = 70710135
L8_1 = {}
L8_1.x = -653.67
L8_1.y = 222.397
L8_1.z = 244.545
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 18
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 87009
L8_1.gadget_id = 70710105
L9_1 = {}
L9_1.x = -654.469
L9_1.y = 222.396
L9_1.z = 244.28
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 18
L8_1.area_id = 7
L9_1 = {}
L9_1.config_id = 87011
L9_1.gadget_id = 70710101
L10_1 = {}
L10_1.x = -657.841
L10_1.y = 222.396
L10_1.z = 244.323
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 32.617
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 18
L9_1.area_id = 7
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1087003
L2_1.name = "QUEST_START_87003"
L3_1 = EventType
L3_1 = L3_1.EVENT_QUEST_START
L2_1.event = L3_1
L2_1.source = "101608"
L2_1.condition = ""
L2_1.action = "action_EVENT_QUEST_START_87003"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1087005
L3_1.name = "QUEST_FINISH_87005"
L4_1 = EventType
L4_1 = L4_1.EVENT_QUEST_FINISH
L3_1.event = L4_1
L3_1.source = "101608"
L3_1.condition = ""
L3_1.action = "action_EVENT_QUEST_FINISH_87005"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1087010
L4_1.name = "GROUP_LOAD_87010"
L5_1 = EventType
L5_1 = L5_1.EVENT_GROUP_LOAD
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = ""
L4_1.action = "action_EVENT_GROUP_LOAD_87010"
L4_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 87001
L6_1 = 87004
L7_1 = 87006
L8_1 = 87007
L9_1 = 87008
L10_1 = 87009
L11_1 = 87011
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "QUEST_START_87003"
L6_1 = "QUEST_FINISH_87005"
L7_1 = "GROUP_LOAD_87010"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L3_1.ban_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 87002
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_START_87003 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 87002
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_FINISH_87005 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetSceneUidList
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  L3_2 = #L2_2
  if L3_2 ~= 0 and L2_2 ~= nil then
    L3_2 = ScriptLib
    L3_2 = L3_2.GetAvatarEntityIdByUid
    L4_2 = A0_2
    L5_2 = L2_2[1]
    L3_2 = L3_2(L4_2, L5_2)
    L4_2 = ScriptLib
    L4_2 = L4_2.GetQuestState
    L5_2 = A0_2
    L6_2 = L3_2
    L7_2 = 101610
    L4_2 = L4_2(L5_2, L6_2, L7_2)
    if L4_2 == 3 then
      L5_2 = ScriptLib
      L5_2 = L5_2.RefreshGroup
      L6_2 = A0_2
      L7_2 = {}
      L7_2.group_id = 133107087
      L7_2.suite = 1
      L5_2(L6_2, L7_2)
    end
  else
    L3_2 = ScriptLib
    L3_2 = L3_2.PrintContextLog
    L4_2 = A0_2
    L5_2 = "## LUA_WARNING : Venti Quest Get Player Fail !!!"
    L3_2(L4_2, L5_2)
  end
  L3_2 = 0
  return L3_2
end
action_EVENT_GROUP_LOAD_87010 = L1_1
